import request from '@/utils/request'

// 查询转场通道配置列表
export function listTransferChannelInfo(query) {
  return request({
    url: '/system/transferChannelInfo/list',
    method: 'get',
    params: query
  })
}

// 查询转场通道配置详细
export function getTransferChannelInfo(id) {
  return request({
    url: '/system/transferChannelInfo/' + id,
    method: 'get'
  })
}

// 新增转场通道配置
export function addTransferChannelInfo(data) {
  return request({
    url: '/system/transferChannelInfo',
    method: 'post',
    data: data
  })
}

// 修改转场通道配置
export function updateTransferChannelInfo(data) {
  return request({
    url: '/system/transferChannelInfo',
    method: 'put',
    data: data
  })
}

// 删除转场通道配置
export function delTransferChannelInfo(id) {
  return request({
    url: '/system/transferChannelInfo/' + id,
    method: 'delete'
  })
}

// 导出转场通道配置
export function exportTransferChannelInfo(query) {
  return request({
    url: '/system/transferChannelInfo/export',
    method: 'get',
    params: query
  })
}